package com.atguigu.eduservice.service;

import com.atguigu.commonutils.R;
import com.atguigu.eduservice.entity.EduTeacher;
import com.atguigu.eduservice.entity.vo.TeacherQuery;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 讲师 服务类
 * </p>
 *
 * @author atguigu
 * @since 2024-10-15
 */
public interface EduTeacherService extends IService<EduTeacher> {

    List<EduTeacher> SelectAllTeacher();

    //1 分页查询讲师的方法
    Map<String, Object> getTeacherFrontList(Page<EduTeacher> pageTeacher);

    R getTeacherList(Page<EduTeacher> pageTeacher, TeacherQuery teacherQuery);

    boolean addTeacher(EduTeacher eduTeacher);
}
